﻿using System;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace Server.Dto
{
    [DataContract]
    public class ChannelDto
    {
        [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
        [DataMember]
        public Guid Id { get; set; }

        [DisplayName("频道名")]
        [DataMember]
        public string Name { get; set; }

        [DisplayName("说明")]
        [DataMember]
        public string Description { get; set; }

        [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
        [DataMember]
        public Guid ProductId { get; set; }

        [DisplayName("产品")]
        [DataMember]
        public ProductDto Product { get; set; }
    }
}
